package edu.neu.swc.cloud.domain;

public class Rent {
    private int rent_fac_id;
    private int rent_equ_id;
    private String rent_start;
    private String rent_end;
    private Equipment equipment;
    private Factory factory;
    private int rent_type;

    public Factory getFactory() {
        return factory;
    }

    public int getRent_type() {
        return rent_type;
    }

    public void setRent_type(int rent_type) {
        this.rent_type = rent_type;
    }

    public void setFactory(Factory factory) {
        this.factory = factory;
    }

    public void setEquipment(Equipment equipment) {
        this.equipment = equipment;
    }

    public Equipment getEquipment() {
        return equipment;
    }

    public int getRent_fac_id() {
        return rent_fac_id;
    }

    public void setRent_fac_id(int rent_fac_id) {
        this.rent_fac_id = rent_fac_id;
    }

    public int getRent_equ_id() {
        return rent_equ_id;
    }

    public void setRent_equ_id(int rent_equ_id) {
        this.rent_equ_id = rent_equ_id;
    }

    public String getRent_start() {
        return rent_start;
    }

    public void setRent_start(String rent_start) {
        this.rent_start = rent_start;
    }

    public String getRent_end() {
        return rent_end;
    }

    public void setRent_end(String rent_end) {
        this.rent_end = rent_end;
    }

    @Override
    public String toString() {
        return "Rent{" + "rent_fac_id=" + rent_fac_id + ", rent_equ_id=" + rent_equ_id + ", rent_start='" + rent_start + '\'' + ", rent_end='" + rent_end + '\'' + ", equipment=" + equipment + ", factory=" + factory + ", rent_type=" + rent_type + '}';
    }
}
